package io.shdxhl.simplerpc.client.provider;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ServiceProvider implements Serializable {
    private String serviceName;
    private String serviceIp;
    private int rpcPort;
    private int networkPort;
    private long timeout;
    private int weight;
}
